package com.lsw.jgyf.model;

import java.util.List;

/**
 * Created by lsw on 2018/7/15.
 */

public class StagingCompanyDetailsModel {


    /**
     * id : 3
     * name : 到底
     * sa_name : 安师傅
     * sa_mobile : 1245143213
     * product_list : [{"id":48,"name":"asd","rate_list":[{"id":25,"insurance_id":2,"insurance_name":"碎屏险","periods":6,"rate":"1.00"},{"id":26,"insurance_id":2,"insurance_name":"碎屏险","periods":6,"rate":"2.00"}]},{"id":49,"name":"dd","rate_list":[{"id":30,"insurance_id":2,"insurance_name":"碎屏险","periods":6,"rate":"2.00"}]}]
     */

    private int id;
    private String name;
    private String sa_name;
    private String sa_mobile;
    /**
     * id : 48
     * name : asd
     * rate_list : [{"id":25,"insurance_id":2,"insurance_name":"碎屏险","periods":6,"rate":"1.00"},{"id":26,"insurance_id":2,"insurance_name":"碎屏险","periods":6,"rate":"2.00"}]
     */

    private List<ProductListEntity> product_list;

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSa_name(String sa_name) {
        this.sa_name = sa_name;
    }

    public void setSa_mobile(String sa_mobile) {
        this.sa_mobile = sa_mobile;
    }

    public void setProduct_list(List<ProductListEntity> product_list) {
        this.product_list = product_list;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getSa_name() {
        return sa_name;
    }

    public String getSa_mobile() {
        return sa_mobile;
    }

    public List<ProductListEntity> getProduct_list() {
        return product_list;
    }

    public static class ProductListEntity {
        private int id;
        private String name;
        /**
         * id : 25
         * insurance_id : 2
         * insurance_name : 碎屏险
         * periods : 6
         * rate : 1.00
         */

        private List<RateListEntity> rate_list;

        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setRate_list(List<RateListEntity> rate_list) {
            this.rate_list = rate_list;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public List<RateListEntity> getRate_list() {
            return rate_list;
        }

        public static class RateListEntity {
            private int id;
            private int insurance_id;
            private String insurance_name;
            private int periods;
            private String rate;

            public void setId(int id) {
                this.id = id;
            }

            public void setInsurance_id(int insurance_id) {
                this.insurance_id = insurance_id;
            }

            public void setInsurance_name(String insurance_name) {
                this.insurance_name = insurance_name;
            }

            public void setPeriods(int periods) {
                this.periods = periods;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public int getId() {
                return id;
            }

            public int getInsurance_id() {
                return insurance_id;
            }

            public String getInsurance_name() {
                return insurance_name;
            }

            public int getPeriods() {
                return periods;
            }

            public String getRate() {
                return rate;
            }
        }
    }
}
